<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>SetEnvironmentVariable</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">SetEnvironmentVariable()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#3A3966"><b>SetEnvironmentVariable</b></font>(Name$, Value$)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Creates an environment variable in the environment block of this program with given name and value. 
If a variable with this name already existed, its content will be changed to the new value. 
<br>
<br>
The environment block of the program is passed on to other programs executed with 
<a href="runprogram.html">RunProgram()</a>, so this method may be used to pass on information to a program 
executed by this program. (The executed program may use <a href="getenvironmentvariable.html">GetEnvironmentVariable()</a> 
to read the variables.) 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Name$</i></td>
<td width="90%"> 
 
The environment variable name. 

 

</td></tr>
<tr><td><i>Value$</i></td>
<td> 
 
The new value for the environment variable. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>参阅</b></p><blockquote>

<a href="getenvironmentvariable.html">GetEnvironmentVariable()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=runprogram.html>RunProgram()</a> - <a href="index.html">Process Index</a> - <a href="waitprogram.html">WaitProgram()</a> -&gt;<br><br>

</body></html>